package com.example.springvue.service;

import com.example.springvue.model.AdminUser;
import com.example.springvue.model.AuthGroup;

import java.util.List;
import java.util.Map;


public interface AuthGroupService {

    //根据用户id获取角色信息
    AuthGroup getAuthGroupInfoId(int Id);


    List<Map<String ,Object>> getList();

    Map<String, Object> getPageSelect(int pageSize,int page);

    //添加
    boolean authGroupAdd(Map<String ,Object> map);

    //根据id更新
    boolean authGroupEdit(Map<String,Object> map);

    //删除
    boolean authGroupDelete(List<String>  Id);
}
